﻿using MyDapperApi.Models;
using QYWXUpdate.DataModel;
using QYWXUpdate.DataModel.Queue;

namespace MyDapperApi.Services;

public interface IQueueService
{
    Task<CommonResponse> AddQueue(AddQueueRequest request);
    Task<CommonResponse> PagingQueueByConsumer(PagingQueueByConsumerRequest request);
    Task<CommonResponse> DeleteQueueCode(DelQueueRequest request);
    Task<CommonResponse> PagingQueue(PagingQueueRequest request);
    Task<CommonResponse> PagingQueueForBoard(PagingQueueRequest request);
    Task<CommonResponse> PagingQueueDetail(PagingQueueDetailRequest request);
    Task<CommonResponse> Asking(IdRequest request);
    Task<CommonResponse> Keep(IdRequest request);
    Task<CommonResponse> GetUser(GetUserRequest request);
    Task<CommonResponse> CheckFollowStatus(IdRequest request);
    Task<CommonResponse> GetCurrentConsumerDetail(GetCurrentConsumerRequest request);
    Task<CommonResponse> Asking(AskingQueueRequest request);
}